/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package core;

import expression.Variable;
import java.util.Comparator;

/**
 *
 * @author ddoose
 */
public class VariableComparator implements Comparator {

    public int compare(Object o1, Object o2) {
        Variable v1 = (Variable)o1;
        Variable v2 = (Variable)o2;
        
        return v1.getName().compareTo(v2.getName());
    }
}
